"""wxcloudrun URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""

from django.urls import re_path
from . import views

# api/admin/
urlpatterns = [
    re_path(r"^login(/)?$", views.login),
    re_path(r"^logout(/)?$", views.logout),
    re_path(r"^tcb_token(/)?$", views.tcb_token),
    re_path(r"^tcb_download(/)?$", views.tcb_download),
    re_path(r"^user(/)?$", views.UserView.as_view()),
    re_path(r"^user_details(/)?$", views.UserDetailsView.as_view()),
    re_path(r"^user/profit(/)?$", views.UserProfitView.as_view()),
    re_path(
        r"^user/storedmoney/recharge(/)?$", views.UserStoredMoneyRechargeView.as_view()
    ),
    re_path(
        r"^user/storedmoney/refund(/)?$", views.UserStoredMoneyRefundView.as_view()
    ),
    re_path(r"^user/hunjing/recharge(/)?$", views.UserHunjingRechargeView.as_view()),
    re_path(r"^user/hunjing/withdraw(/)?$", views.UserHunjingWithdrawView.as_view()),
    re_path(r"^user/hunjing/deduction(/)?$", views.UserHunjingDeductionView.as_view()),
    re_path(r"^user/score/recharge(/)?$", views.UserScoreRechargeView.as_view()),
    re_path(r"^user/score/deduction(/)?$", views.UserScoreDeductionView.as_view()),
    re_path(r"^user/daili(/)?$", views.UserDailiView.as_view()),
    re_path(r"^user/disable(/)?$", views.UserDisableView.as_view()),
    re_path(r"^user/inviter(/)?$", views.UserInviterView.as_view()),
    re_path(r"^user/real(/)?$", views.UserRealView.as_view()),
    re_path(r"^user/packages(/)?$", views.UserPackagesView.as_view()),
    re_path(
        r"^user/packages/goodlevel/name(/)?$",
        views.UserPackagesGameLevelNameView.as_view(),
    ),
    re_path(r"^user/record/expense(/)?$", views.UserExpenseRecordView.as_view()),
    re_path(
        r"^user/record/expense/goods(/)?$", views.UserExpenseRecordGoodsView.as_view()
    ),
    re_path(r"^user/rank/recharge(/)?$", views.UserRankRechargeView.as_view()),
    re_path(r"^user/rank/consumption(/)?$", views.UserRankConsumptionView.as_view()),
    re_path(r"^user/rank/profit(/)?$", views.UserRankProfitView.as_view()),
    re_path(r"^user/record/recharge(/)?$", views.UserRecordRechargeView.as_view()),
    re_path(r"^user/record/refined(/)?$", views.UserRecordRefinedView.as_view()),
    re_path(
        r"^user/record/refined/goods(/)?$", views.UserRecordRefinedGoodsView.as_view()
    ),
    re_path(r"^user/record/raffle(/)?$", views.UserRaffleRecordView.as_view()),
    re_path(
        r"^user/record/raffle/goods(/)?$", views.UserRaffleRecordGoodsView.as_view()
    ),
    re_path(
        r"^user/record/purchase/goods(/)?$", views.UserRecordPurchaseGoods.as_view()
    ),
    re_path(
        r"^user/record/purchase/game/num(/)?$",
        views.UserRecordPurchaseGameNum.as_view(),
    ),
    re_path(
        r"^user/record/personal/details(/)?$",
        views.UserRecordPersonalDetailsView.as_view(),
    ),
    re_path(r"^user/record/withdraw(/)?$", views.UserRecordWithdrawView.as_view()),
    re_path(r"^user/record/score(/)?$", views.UserRecordScoreView.as_view()),
    re_path(r"^finance(/)?$", views.FinanceView.as_view()),
    re_path(r"^finance/month(/)?$", views.FinanceMonthView.as_view()),
    re_path(r"^finance/day(/)?$", views.FinanceDayView.as_view()),
    re_path(r"^finance(/)?$", views.FinanceView.as_view()),
    re_path(r"^delivery(/)?$", views.UserDeliveryOrderView.as_view()),
    re_path(r"^delivery/detailed(/)?$", views.UserDeliveryOrderDetailedView.as_view()),
    re_path(r"^delivery/verify(/)?$", views.UserDeliveryOrderVerifyView.as_view()),
    re_path(r"^settings/web(/)?$", views.WebSettingsView.as_view()),
    re_path(r"^roule(/)?$", views.GameRuleView.as_view()),
    re_path(r"^roule/list(/)?$", views.GameRuleListView.as_view()),
    re_path(r"^roule/options(/)?$", views.GameRuleOptionView.as_view()),
    re_path(r"^correct(/)?$", views.CorrectView.as_view()),
    re_path(r"^home(/)?$", views.HomeView.as_view()),
]
